

#ifndef __KEYBOARD_H
#define __KEYBOARD_H

#include "HIDKeypad.h"



//------------------------------------------------------------------------------
//         Definitions
//------------------------------------------------------------------------------

/// Number of keys used in the example.
#define NUM_KEYS                    4

/// Number of non-modifiers keys.
#define NUM_NORMAL_KEYS             3

/// Number of modifier keys.
#define NUM_MODIFIER_KEYS           (NUM_KEYS - NUM_NORMAL_KEYS)


/// Array of key codes produced by each button.
static unsigned char keyCodes[NUM_KEYS] = {
    HIDKeypad_A,
    HIDKeypad_5,
    HIDKeypad_9,
    HIDKeypad_RIGHTSHIFT
};


/// Current status (pressed or not) for each key.
static unsigned char keyStatus[NUM_KEYS];

extern 
	void keyboard_handle();
#endif
